package com.lanyam.travel.base.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author rosson
 * @since 2020-02-12
 */
@TableName("ticket_type")
public class TicketType extends Model<TicketType> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;
    /**
     * 票的种类：0团体票，1儿童票，2成人票，3老人票，4学生票
     */
    @TableField("ticket_type")
    private Integer ticketType;
    /**
     * 票的类型说明：团体票，儿童票，成人票，老人票，学生票
     */
    private String content;




    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getTicketType() {
        return ticketType;
    }

    public TicketType setTicketType(Integer ticketType) {
        this.ticketType = ticketType;
        return this;
    }

    public String getContent() {
        return content;
    }

    public TicketType setContent(String content) {
        this.content = content;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
